import Vue from 'vue'
import { base64 ,cookie ,dateFormat ,debounce ,md5 ,numberComma, numberPad, numberRandom,querystring,trim   } from 'vux'

let obj = { base64 ,cookie ,dateFormat ,debounce ,md5 ,numberComma, numberPad, numberRandom,querystring,trim };

let util = {};
for(const item in obj){
    util[item] = obj[item];
}
util.alert = (name)=>{
    console.log(name);
}

Vue.prototype.$utils = util;
export default util
